

<form name="LeftMenu">
    
<table  class="LeftMenu">
        <thead>
            <tr <?php EchoWithoutPinfo('class=LeftMenuDisabled') ?>>
                <th>Vytvoř novou událost</th>
            </tr>
        </thead>
        <tbody>
            <tr>
<!--                <td><a class="LeftMenuButton" href="NovaDovolena.php">Vzít si dovolenou</a></td>
                -->
                <td><input type="submit" <?php EchoWithoutPinfo('disabled') ?> value="Dovolenka"  onclick="form.action='NovaDovolena.php';" class="LeftMenuButton" /></td>
            </tr>
            <tr>
                <td><input type="submit" <?php EchoWithoutPinfo('disabled') ?> value="Cesťák"onclick="form.action='NovaCesta.php';" class="LeftMenuButton" /></td>
            </tr>
            <tr>
                <td><input type="submit" <?php EchoWithoutPinfo('disabled') ?> value="Schůzka, seminář" onclick="form.action='NovaUdalost.php';" class="LeftMenuButton" /></td>
            </tr>
<!--            <tr>            
                 <td><?php echo '<a  style="color:grey" href="'.$_SESSION['person'][1].'/archiv" class="LeftMenuButton"> Archiv událostí</a>'; ?></td>
            </tr>  
            <tr>
                <td><a  style="color:grey" href="Settings" class="LeftMenuButton">Nastavení</a></td>
            </tr>-->
        </tbody>
   </table>
<img src="img/vogon1.jpg" align="middle" alt="">
    <!--   <br>
    <table  class="LeftMenu">
        <thead>
            <tr <?php EchoWithoutPinfo('class=LeftMenuDisabled') ?>>
                <th>Nastavení</th>
            </tr>
        </thead>
        <tbody>
            <tr>

                <td><input type="submit" <?php EchoWithoutPinfo('disabled') ?> value="Osobní nastavení" name="Nastaveni" onclick="form.action='Nastaveni.php';" class="LeftMenuButton" /></td>
            </tr>
        </tbody>
   </table>-->
    
<?php
 if (AmIAdmin()) {
   echo '<p>';
   echo '<table  class="LeftMenu">';
   echo '<thead>';
   echo '<tr><th>Úpravy</th></tr>';
   echo '</thead>';
   echo '<tr><td></td></tr>';
   echo '<tr><td><a href="Edit.php" target="_blank">Lidé</a><br></td></tr>';  
   echo '<tr><td><a href="admin/SimpleEvents.php" target="_blank">Všechny události</a></td></tr>';
   echo '<tr><td><a href="export.php" target="_blank">Export</a></td></tr>';
   echo '<tr><td></td></tr>';
  echo '</table>';
 }
 
  if (AmIAdmin(2)) {
   echo '<p>';
   echo '<table  class="LeftMenu">';
   echo '<thead>';
   echo '<tr><th>Administrace</th></tr>';
   echo '</thead>';
   echo '<tr><td></td></tr>';
   echo '<tr><td><a href="phpmyadmin" target="_blank">phpMyAdmin</a></td></tr>';
   //echo '<tr><td><a href="admin/phpMyEditSetup.php" target="_blank">phpMyEditSetup</a></td></tr>';
   echo '<tr><td></td></tr>';
   echo '<tr><td></td></tr>';
echo '</table>';
 }
?>


    </form>